package spring.cloud.eurekaclientproduct.service;

import rx.Observable;
import com.spring.cloud.commonutils.vo.UserInfo;
import com.spring.cloud.commonutils.vo.ResultMessage;



import java.util.List;
import java.util.concurrent.Future;

public interface UserFacade {
    public ResultMessage timeout();
    public ResultMessage exp(String msg);
    public ResultMessage timeout2();
    public Future<ResultMessage>asyncTimeout();
    public List<ResultMessage> exp2(String[] params);
    public Observable<ResultMessage> asyncExp(String[] params);
    public UserInfo testUserInfo(Long id);
    public UserInfo getUserInfo(Long id);
    public UserInfo updateUserInfo(UserInfo user);
    public UserInfo getUser(Long id);
    public List<UserInfo>findUsers(Long[] ids);
    public Future<UserInfo> getUser2(Long id);
    public List<UserInfo>findUsers2(Long[] ids);
}
